package com.wyh.dao;

import com.wyh.entity.ThreeLev;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

import javax.persistence.EntityManager;
import java.util.List;

/**
 * @Author wangyaohan
 * @Date 2021/9/24 20:14
 * @ClassName ThreeLevDao
 */
public interface ThreeLevDao extends JpaRepository<ThreeLev, Integer> {
    List<ThreeLev> findByPid(Integer id);
}
